package com.ecut.property_project.model.base;

public class BasePurpose {
    private Integer id;

    /**
    * 用途名称
    */
    private String purposeCode;

    /**
    * 用途编码
    */
    private String purposeName;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPurposeCode() {
        return purposeCode;
    }

    public void setPurposeCode(String purposeCode) {
        this.purposeCode = purposeCode;
    }

    public String getPurposeName() {
        return purposeName;
    }

    public void setPurposeName(String purposeName) {
        this.purposeName = purposeName;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", purposeCode=").append(purposeCode);
        sb.append(", purposeName=").append(purposeName);
        sb.append("]");
        return sb.toString();
    }
}